import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vite.dev/config/
export default defineConfig({
  server: {
    host: true
  },
  resolve: {
    alias: {
      'vue': 'vue/dist/vue.esm-bundler.js'
    }
  },
  plugins: [vue()],
  define: {
    'process.env': {
      INSCODE_API_KEY: process.env.INSCODE_API_KEY
    }
  },
  assetsInclude: ['**/*.md'],
  css: {
    preprocessorOptions: {
      scss: {
        quietDeps: true,
      }
    }
  }
})
